import request from '@/utils/request'
export const selectFormulate = (id) =>
    request({
        url:'/formulate/' + id  ,
        method: 'get'
    })



    export const addFormulate = (formulateScheme) =>
    request({
        url:'/formulate',
        method:'post',
        data:formulateScheme
    })


    export const selectFormulateByPopId = (id) =>
        request({
            url:'/formulate/selectFormulateByPopId/' + id,
            method:'get'
        })

    export const upFormulate = (formulateScheme) =>
    request({
        url:'/formulate',
        method:'put',
        data:formulateScheme
    })